ProfilePress\Core\Membership\PaymentMethods\Stripe\Stripe D

Total Complexity 135
Dependencies 17
Dependents 1
Total lines 917
Lines of code 620
Logical lines of code 297
Comment lines 69
Methods 28
Properties 0

Methods 28

Method Rating Maintainability Complexity Lines of code
process_offsite_payment()
B
34 17 92
process_payment()
B
33 16 103
admin_settings()
A
37 9 82
maybe_update_webhook()
A
48 11 31
enqueue_frontend_assets()
A
45 9 44
stripe_cancel()
A
49 8 31
disconnect_stripe_account()
S
55 6 17
save_stripe_connect()
S
55 6 16
process_webhook()
S
51 5 26
process_refund()
S
52 5 25
validate_fields()
S
62 5 11
admin_connection_status_block()
S
55 4 18
__construct()
S
51 3 24
credit_card_form()
S
58 3 18
can_cancel()
S
69 4 6
output_connection_error()
S
66 4 7
should_validate_billing_details()
S
71 3 6
billing_address_form()
S
74 3 5
get_statement_descriptor()
S
59 2 14
link_transaction_id()
S
71 2 6
filter_update_order_review_response()
S
65 2 8
link_profile_id()
S
71 2 6
has_fields()
S
80 1 3
cancel_immediately()
S
79 1 3
cancel()
S
80 1 3
get_order_metadata()
S
65 1 9
is_billing_fields_removed()
S
79 1 3
is_offsite_checkout_style()
S
78 1 3